﻿
namespace Jim.SHR;

/// <summary>职位取数接口（全量）</summary>  
[Sdk("inteOAGetJobRelatedDataService", "职位取数接口（全量）")]
public class SHRInteOAGetJobRelatedDataServiceRequest : ISdkRequest<SHRInteOAGetJobRelatedDataServiceResponse>
{

}

public class SHRInteOAGetJobRelatedDataServiceResponse : SdkResponse<JobRelated> { }

public class JobRelated
{
    /// <summary>
    /// 职职务族
    /// </summary>
    /// <value>string</value>
    public List<SHRJobFamily> JobFamily { get; set; }
    /// <summary>
    /// 职务子类
    /// </summary>
    /// <value>string</value>
    public List<SHRJobSubCategory> JobSubCategory { get; set; }
    /// <summary>
    /// 职务类
    /// </summary>
    /// <value>string</value>
    public List<SHRJobCategory> JobCategory { get; set; }
    /// <summary>
    /// 职务
    /// </summary>
    /// <value>string</value>
    public List<SHRJob> Job { get; set; }
}



public class SHRJob
{
    /// <summary>
    /// 职务 id
    /// </summary>
    /// <value>string</value>
    public string Id { get; set; }
    /// <summary>
    /// 职务名称
    /// </summary>
    /// <value>string</value>
    public string Name { get; set; }
    /// <summary>
    /// 职务编码
    /// </summary>
    /// <value>string</value>
    public string Number { get; set; }
    /// <summary>
    /// 状态
    /// </summary>
    /// <value>string</value>
    public string State { get; set; }
    /// <summary>
    /// 职务的职务类 id
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobCategory_id")]
    public string JobCategoryId { get; set; }
    /// <summary>
    /// 职务的职务类名称
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobCategory_name")]
    public string JobCategoryName { get; set; }
    /// <summary>
    /// 职务的职务类编码
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobCategory_number")]
    public string JobCategoryNumber { get; set; }
    /// <summary>
    /// 职务的职务子类 id
    /// </summary>
    /// <value>string</value>
    [JsonProperty("JobSubCategoryId")]
    public string JobSubCategoryId { get; set; }
    /// <summary>
    /// 职务的职务子类名称
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobSubCategory_name")]
    public string JobSubCategoryName { get; set; }
    /// <summary>
    /// 职务的职务子类编码
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobSubCategory_number")]
    public string JobSubCategoryNumber { get; set; }
    /// <summary>
    /// 职务的职务族 id
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobFamily_id")]
    public string JobFamilyId { get; set; }
    /// <summary>
    /// 职务的职务族名称
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobFamily_name")]
    public string JobFamilyName { get; set; }
    /// <summary>
    /// 职务的职务族编码
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobFamily_number")]
    public string JobFamilyNumber { get; set; }
    /// <summary>
    /// 职务的创建时间
    /// </summary>
    /// <value>string</value>
    public string CreateTime { get; set; }
    /// <summary>
    /// 职务的最后修改时间
    /// </summary>
    /// <value>string</value>
    public string LastUpdateTime { get; set; }
}
public class SHRJobCategory
{
    /// <summary>
    /// 职务类 id
    /// </summary>
    /// <value>string</value>
    public string Id { get; set; }
    /// <summary>
    /// 职务类名称
    /// </summary>
    /// <value>string</value>
    public string Name { get; set; }
    /// <summary>
    /// 职务类编码
    /// </summary>
    /// <value>string</value>
    public string Number { get; set; }
    /// <summary>
    /// 职务类的职务族 id
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobFamily_id")]
    public string JobFamilyId { get; set; }
    /// <summary>
    /// 职务类的职务族名称
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobFamily_name")]
    public string JobFamilyName { get; set; }
    /// <summary>
    /// 职务的职务族编码
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobFamily_number")]
    public string JobFamilyNumber { get; set; }
    /// <summary>
    /// 职务的创建时间
    /// </summary>
    /// <value>string</value>
    public string CreateTime { get; set; }
    /// <summary>
    /// 职务的最后修改时间
    /// </summary>
    /// <value>string</value>
    public string LastUpdateTime { get; set; }
}

public class SHRJobFamily
{

    /// <summary>
    /// 职务族 id
    /// </summary>
    /// <value>string</value>
    public string Id { get; set; }
    /// <summary>
    /// 职务族名称
    /// </summary>
    /// <value>string</value>
    public string Name { get; set; }
    /// <summary>
    /// 职务族编码
    /// </summary>
    /// <value>string</value>
    public string Number { get; set; }
    /// <summary>
    /// 职务的创建时间
    /// </summary>
    /// <value>string</value>
    public string CreateTime { get; set; }
    /// <summary>
    /// 职务的最后修改时间
    /// </summary>
    /// <value>string</value>
    public string LastUpdateTime { get; set; }
}

public class SHRJobSubCategory
{
    /// <summary>
    /// 职务子类 id
    /// </summary>
    /// <value>string</value>
    public string Id { get; set; }
    /// <summary>
    /// 职务子类名称
    /// </summary>
    /// <value>string</value>
    public string Name { get; set; }
    /// <summary>
    /// 职务子类编码
    /// </summary>
    /// <value>string</value>
    public string Number { get; set; }
    /// <summary>
    /// 职务子类的职务类 id
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobCategory_id")]
    public string JobCategoryId { get; set; }
    /// <summary>
    /// 职务子类的职务类名称
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobCategory_name")]
    public string JobCategoryName { get; set; }
    /// <summary>
    /// 职务子类的职务类编码
    /// </summary>
    /// <value>string</value>
    [JsonProperty("jobCategory_number")]
    public string JobCategoryNumber { get; set; }
    /// <summary>
    /// 职务子类_创建时间
    /// </summary>
    /// <value>string</value>
    public string CreateTime { get; set; }
    /// <summary>
    /// 职位子类的最后修改时间
    /// </summary>
    /// <value>string</value>
    public string LastUpdateTime { get; set; }

}

